<?php /* Smarty version Smarty-3.1.8, created on 2016-06-24 14:22:34
         compiled from "admin:pm/index.html" */ ?>
<?php /*%%SmartyHeaderCode:26680576cd1aa974f53-46397702%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '976cb884712a18c7c6824608c6d1bdfbcef13508' => 
    array (
      0 => 'admin:pm/index.html',
      1 => 1446711641,
      2 => 'admin',
    ),
  ),
  'nocache_hash' => '26680576cd1aa974f53-46397702',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'items' => 0,
    'v' => 0,
    'zxpm' => 0,
    'pz' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_576cd1aa9f9c70_52270899',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_576cd1aa9f9c70_52270899')) {function content_576cd1aa9f9c70_52270899($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_format')) include 'E:\\xampp\\htdocs\\zhejiangzhuangshi\\system\\plugins/smarty\\modifier.format.php';
?><?php echo $_smarty_tpl->getSubTemplate ("admin:common/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="page-title">
	<table width="100%" align="center" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td width="30" align="right"><img src="http://hf.v6.jhcms.cn/admin/images/main-h5-ico.gif" alt=""></td>
			<th>项目列表</th>
			<td align="right">
                <a href="?pm/index-addpm.html" ini-width="450" class="button" title="添加项目">添加项目</a>
                <a href="?trade/order-so.html" mini-load="搜索商城订单" mini-width="450" class="button" title="搜索">搜索</a></td>
			<td width="15"></td>
		</tr>
	</tbody></table>
</div>
<div class="page-data">	
	<form id="items-form">
    <table width="100%" border="0" cellspacing="0" class="table-data table">
    <tbody>
    	<tr>
    		<th class="w-50">ID</th>
    		<th class="w-200">项目名称</th>
    		<th class='w-250'>施工地址</th>
    		<th class="w-200">施工小区</th>
    		<th class="w-150">所在城市</th>
    		<th class='w-100'>装修面积</th>
    		<th class="w-50">装修费用(RMB)</th>
    		<th class='w-150'>装修公司</th>
    		<th class="w-100">监理姓名</th>
    		<th class="w-100">业主姓名</th>
    		<th class="w-100">添加时间</th>
    		<th class="w-150">操作</th>
    	</tr>
    	<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['items']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
        <tr>
       		<td class="w-100"><?php echo $_smarty_tpl->tpl_vars['v']->value['site_id'];?>
</td>
    		<td class="w-100"><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
</td>
    		<td class='w-250'><?php echo $_smarty_tpl->tpl_vars['v']->value['addr'];?>
</td>
    		<td class="w-100"><?php echo $_smarty_tpl->tpl_vars['v']->value['home_name'];?>
</td>
    		<td><?php echo $_smarty_tpl->tpl_vars['v']->value['city_name'];?>
<?php echo $_smarty_tpl->tpl_vars['v']->value['area_name'];?>
</td>
    		<td class='w-100'><?php echo $_smarty_tpl->tpl_vars['v']->value['house_mj'];?>
</td>
    		<td class="w-50"><?php echo $_smarty_tpl->tpl_vars['v']->value['price'];?>
</td>
    		<td><?php echo $_smarty_tpl->tpl_vars['v']->value['company'];?>
</td>
    		<td class="w-50"><?php  $_smarty_tpl->tpl_vars['pz'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pz']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['zxpm']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pz']->key => $_smarty_tpl->tpl_vars['pz']->value){
$_smarty_tpl->tpl_vars['pz']->_loop = true;
?><?php if ($_smarty_tpl->tpl_vars['pz']->value['supervist_id']==$_smarty_tpl->tpl_vars['v']->value['zxpm_id']){?><?php echo $_smarty_tpl->tpl_vars['pz']->value['name'];?>
<?php }?><?php } ?></td>
    		<td><?php echo $_smarty_tpl->tpl_vars['v']->value['custom'];?>
</td>
    		<td class="w-100"><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['v']->value['dateline'],'Y年m月d日 H:i:s');?>
</td>
			<td>
				<a href="?pm/index-progress-<?php echo $_smarty_tpl->tpl_vars['v']->value['site_id'];?>
.html" class="button" title="查看">施工进度</a>
				<a href="?pm/index-edpm-<?php echo $_smarty_tpl->tpl_vars['v']->value['site_id'];?>
.html" title="修改" class="button">修改</a>
				<a href="?pm/index-rmpm-<?php echo $_smarty_tpl->tpl_vars['v']->value['site_id'];?>
.html" mini-act="删除" mini-confirm="确定要删除吗？" title="删除" class="button">删除</a>
			</td>
		</tr>  
		<?php } ?> 
	</tbody>
	</table>
	</div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ("admin:common/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>